package com.xqh.service.ques;

import com.xqh.base.common.ModifyCommonDto;
import com.xqh.base.service.BaseCrudService;
import com.xqh.entity.ques.Vocabulary;

import java.util.List;

/**
 * t_vocabulary
 * 
 * @author leo
 * @date 2018-04-16 16:09:29
 * @version 1.0.0
 * @copyright www.vip-young.com
 */
public interface VocabularyService extends BaseCrudService<Vocabulary> {

    void modifyData(ModifyCommonDto dto);

    /**
     * 更新 信息不全的数据
     * @param vocab
     */
    void reUpdateData(Vocabulary vocab);

    /**
     * 获取 数据库中未 爬取的 word集合
     * @param excelData
     * @return
     */
    List<String> filterUnSpiderWords(List<String> excelData);

    void downloadAudio(Vocabulary vocab);

    void uploadVocabAudio(Vocabulary vocab);

    void batchUpdateVocab(List<Vocabulary> vlist);
}